char *match(char *s, char ch) {
    char *last = NULL;
    while (*s != '\0') {
        if (*s == ch) {
            last = s;  // 每次找到都更新为当前位置
        }
        s++;
    }
    return last;
}
